package com.han.cloud.service;

import com.han.cloud.dto.TradeDTO;
import com.han.cloud.dto.WrapperResponse;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import org.springframework.stereotype.Component;

/**
 * @author hanky
 * @date 2021/11/15
 */
@Component
public class FeignClientFallbackService implements FeignClientPaymentService{
    @Override
    public WrapperResponse<TradeDTO> getTrade(String id) {
        return WrapperResponse.fail(null);
    }
}
